<template>
	<view class="cashFinish">
		<!-- 提现的金额 -->
		<view class="cash-icon">
			<!-- 100 100 -->
			<image src="/static/imgs/userImgs/cash-finish.png" mode=""></image>
		</view>
		<view class="cash-dec">
			提现申请已提交
		</view>
		<view class="cash-num">
			￥{{withdraw.amount}}
		</view>

		<!-- 提现的详细信息 -->
		<view class="cash-detail">
			<view class="ch-item1">
				<!-- 36 -->
				<image src="/static/imgs/userImgs/clock.png" mode=""></image>
			</view>
			<view class="ch-item2">
				提现时间
			</view>
			<view class="ch-item3" v-once>
				{{withdraw.currentDate}}
			</view>
		</view>

		<view class="cash-detail">
			<view class="ch-item1">
				<!-- 36 -->
				<image src="/static/imgs/userImgs/cash-card.png" mode=""></image>
			</view>
			<view class="ch-item2">
				到账银行
			</view>
			<view class="ch-item3">
				{{withdraw.bankname}}
			</view>
		</view>

		<view class="cash-detail boder-bottom">
			<view class="ch-item1">
				<!-- 36 -->
				<image src="/static/imgs/userImgs/clock.png" mode="aspectFill"></image>
			</view>
			<view class="ch-item2">
				到账时间
			</view>
			<view class="ch-item3 ">
				预计当天24点前到账
			</view>
		</view>

		<!-- 完成按钮 -->
		<view class="cash-btn">
			<view class="finish-btn" @click="navTo('/pages/myStore/myStore')">
				完成
			</view>
		</view>

	</view>
</template>

<script>
	import {
		mapState
	} from "vuex";
	export default {
		data() {
			return {
				currentDate: ''
			};
		},
		computed: {
			...mapState(['withdraw']),
		},
		methods: {
			navTo(url) {
				uni.switchTab({
					url
				});
			}
			
		}
	}
</script>

<style lang="scss" scoped>
	@import 'static/css/wallet.scss'
	// page{
	// 	background-color: $bg01;
	// }
</style>
